<!--
 * @Description: ...
 * @Author: yangli 121029539@qq.com
 * @Date: 2025-01-18 09:20:44
 * @LastEditTime: 2025-01-18 17:17:06
 * @LastEditors: yangli 121029539@qq.com
 * @FilePath: \pc\layouts\components\main\index.vue
-->
<template>
    <main class="mx-auto  py-4">
      <slot />
    </main>
</template>
<script lang="ts" setup>
const route = useRoute()
const activeMenu = computed<string>(() => route.meta.activeMenu ?? route.path)
const { sidebar, hasSidebar } = useMenu()
</script>
